# S模式数据长度错误
# datHex='010330004dfdff030416490b3ce6e008401dd20a3f00577807800c3071e77c6003841800307c0000408779271721245b50cdc95b113fe7fc600a6102c30310035390810c20fd084cc0030000f70c'

# ADS-B len error long
datHex = '150038c71d2b49800c00290016661d4a9c3c0b330e8e254e1e0b000bb9065a1f0008076bf4060101060002e12038353530c30c40'


# S模式FS_error
# datHex='0303300048ffff0101011658177000a085af7b6d046405046003c1780c2c0d30f8d77ce003beb00030aa000040c35a3330bfe000608018533be014e950064b077cbd94088d853b4022f5'

# ADS-BFS_error
# datHex='150036c71d2b498101010c00290016661d4a9c3c0b330e8e254e1e0b000bb9065a1f0008076bf4060101060002e12038353530c30c40'

# 平飞
# datHex = '020330003bfff70380140f78760ea83b0001ff089e04b4e05d0cca78167430b179e37c2002bac80030aa000040d88a4f30e034006000220795ad424620f530000108000000'


class FormatVal:
    NORMAL = '0103010017f78416caa0002d1ebb370807b77bb8026b03d840'
    CRSError = '15003dc7112b49800c00290016661d4a9c3c0b330e8e254e1e0b000bb9f4060101060002e12038353530c30c40'
    LostTime = '15002dc7112b49800c00290016661d4a9c3c0b330e8e254e1e0b000bb9f4060101060002e12038353530c30c40'
    # Lost /040 & /042
    Lost042And040 = '030330003eeff7021658177000a0046405046003c1780c2c0d30f8d77ce003beb00030aa000040c35a3330bfe000608018533be014e950064b088d853b4022f5'
    # 格式错误
    FormatError = '150034c71d2b49800c00290016661d4a9c3c0b330e8e254e1e0b000bb9065a1f0008076bf4060101060002e12038353530c30c40'
    # lost targetaddress
    LostTargetAddr = '150031c70d2b49800c00290016661d4a9c3c0b330e8e254e1e0b065a1f0008076bf4060101060002e12038353530c30c40'
    #
    LostReport = '150032871d2b49800c0016661d4a9c3c0b330e8e254e1e0b000bb9065a1f0008076bf4060101060002e12038353530c30c40'
    TooHeight = '150038c71d3b49800c00290016661d4a9c3c0b330e8e254e1e0b000bb9065a1f0008076bf149ff5008060101060002e12038353530c30c40'


class RadarData:
    # SSR A6430
    Radar1 = '0103010017f78416caa0025e22e4db2807925d780d18034440'


class RadarDataS:
    # S模式雷达数据
    S_1 = "0103300046ffff0216581770008085af7b6d046405046003c1780c2c0d30f8d77ce003beb00030aa000040c35a3330bfe000608018533be014e950064b077cbd9402ee853b4022f5"
    S_2 = "0103300046ffff021658177000e085af7b6d046405046003c1780c2c0d30f8d77ce003beb00030aa000040c35a3330bfe000608018533be014e950064b077cbd9402ee853b4022f5"


class ADSBDates:
    LostHeight = "150038c71d3b49800c00290016661d4a9c3c0b330e8e254e1e0b000bb9065a1f0008076bf149ff5008060101060002e12038353530c30c40"
